package jgl.vajra.driver.part.vehicle.activity;

import jgl.vajra.driver.R;
import jgl.vajra.driver.databinding.ActivityCalculateAccountsBinding;
import jgl.vajra.driver.manager.IntentManager;
import jgl.vajra.driver.part.vehicle.contract.CalculateAccountsContract;
import jgl.vajra.driver.part.vehicle.viewModel.CalculateAccountsViewModel;
import jgl.vajra.driver.widget.mvvm.factory.CreateViewModel;
import jgl.vajra.driver.widget.mvvm.view.BaseMVVMActivity;

@CreateViewModel(CalculateAccountsViewModel.class)
public class CalculateAccountsActivity extends BaseMVVMActivity<CalculateAccountsViewModel, ActivityCalculateAccountsBinding> implements CalculateAccountsContract.View {
    @Override
    public int getLayoutId() {
        return R.layout.activity_calculate_accounts;
    }

    @Override
    public void initView() {
        super.initView();
        mBinding.setView(this);

    }

    //算账明细
    @Override
    public void onAccountingDetails() {
        IntentManager.toPricingRulesActivity(this);
    }
}
